package com.oliet.service;

import com.oliet.common.dto.dict.CreateDictionaryDTO;
import com.oliet.common.dto.dict.UpdateDictionaryDTO;
import com.oliet.common.vo.dict.MainDictionaryVO;
import com.oliet.common.vo.page.PageVO;
import com.oliet.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JZP
 * @since 2023-12-30
 */
public interface DictionaryService extends IService<Dictionary> {

    List<MainDictionaryVO> getAll();

    void create(CreateDictionaryDTO param);

    void update(UpdateDictionaryDTO param);

    PageVO<Dictionary> pageList(Long pageNo, Long pageSize, String search);

}
